Transferito\Controllers\Transfer D

Total Complexity 304
Dependencies 11
Dependents 1
Total lines 3,646
Lines of code 1,782
Logical lines of code 969
Comment lines 1,241
Methods 59
Properties 6

Methods 59

Method Rating Maintainability Complexity Lines of code
prepareDownload()
D
22
31 214
prepareLocalDownload()
B
31 11 133
cleanUp()
A
39 12 64
archiveProgressCheck()
A
39 12 58
cPanelCheck()
A
38 10 73
startMigration()
A
40 9 59
wpSiteCheck()
A
44 9 43
databaseValidation()
A
44 8 43
switchMode()
A
45 8 37
checkSiteWithinFreeTier()
A
51 8 29
serverDetailValidation()
A
46 7 37
checkArchiveCompletion()
A
54 8 20
chunkedDBExport()
S
50 7 28
cpanelAuthentication()
S
44 6 42
getDirectoryCheckUpdate()
S
51 7 24
addFilesToCodebase()
S
51 7 24
statusCheck()
S
52 7 23
getFTPDirectories()
S
49 6 29
screenRouting()
S
47 5 36
destinationServerValidationCheck()
S
51 5 27
disableAutoPrependOption()
S
52 5 24
uploadChunk()
S
47 4 36
completeUpload()
S
47 4 36
areAPIKeysValid()
S
54 5 21
checkPremiumApiKeys()
S
53 5 20
archiveCompletionResponse()
S
49 4 34
logEvent()
S
56 5 17
enableAutoPrependOption()
S
57 5 17
enableWPObjectCache()
S
57 5 17
downloadVerificationFile()
S
49 4 31
addCheckServerValidation()
S
52 4 26
chooseMigrationMethod()
S
53 4 22
destinationServerConnectionExists()
S
55 4 20
__construct()
S
42 2 49
purgeDirectory()
S
57 4 18
disableWPObjectCache()
S
58 4 15
initiateUpload()
S
50 3 29
updateTheDestinationServerConnection()
S
60 4 13
prepareCodebase()
S
53 3 22
directoryValidation()
S
53 3 21
startDirectoryCheck()
S
55 3 20
codebaseArchiveComplete()
S
55 3 19
prepareDatabase()
S
55 3 19
sendRequestForm()
S
63 4 9
freshStart()
S
61 3 14
archiveDBExport()
S
61 3 12
checkArchiveError()
S
62 3 11
removeTransferitoTransients()
S
48 1 38
archiveCreation()
S
56 2 17
databaseExportComplete()
S
58 2 15
destinationServerValidation()
S
60 2 13
databaseRelocationCheck()
S
60 2 13
databaseRelocation()
S
64 2 9
removeDBImportDirectory()
S
68 2 7
loadDirectoryTemplate()
S
60 1 14
hideWelcomeScreen()
S
73 1 5
hideQuickStart()
S
75 1 4
buildVerificationURL()
S
80 1 3
getFileParts()
S
65 1 9